package 线程.等待唤醒机制;

public class text {
    public static void main(String[] args) {
        //创建生产者和消费者的线程对象
        Cook cook=new Cook();
        eatFood ef=new eatFood();

        //开启线程
        cook.start();
        ef.start();
    }
}
